import './assets/main.css'

//在src/main.js中导入Vant、axios、vue-axios。
import axios from 'axios'
import ElementPlus from 'element-plus' //全局引入
import 'element-plus/dist/index.css'
import Vant from 'vant'
import 'vant/lib/index.css'
import { createApp } from 'vue'
import VueAxios from 'vue-axios'
import App from './App.vue'
import router from './router'
axios.defaults.baseURL="http://localhost:8080/" // 若依项目服务器地址
const app = createApp(App)
app.use(router)
app.use(Vant)
app.use(VueAxios, axios)
app.use(ElementPlus);
app.mount('#app')